<?php

switch($_GET['act']){
	case "home":require("controllers/video/home.php");
	break;
	case "view":require("controllers/video/view.php");
	break;
	case "category":require("controllers/video/category.php");
	break;
	case "subcategory":require("controllers/video/subcategory.php");
	break;
	case "user":require("controllers/video/user.php");
	break;
	case "tag":require("controllers/video/tag.php");
	break;
	case "search":require("controllers/video/search.php");
	break;
}



if(isset($_POST)){
	switch($_POST['act']){
		case 'pagination':
		require("controllers/anime/ajax.php");
		break;
		case 'fchuong':
		require("controllers/anime/ajax.php");
		break;
	}
}





?>